<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/resources/images/favicon.ico"
	type="image/x-icon">
<link rel="icon" href="/resources/images/favicon.ico"
	type="image/x-icon">
<script src="/resources/js/jquery.1.9.1.min.js"></script>
<script src="/resources/js/bootstrap.min.js"></script>
<script src="/resources/js/jquery.ui.widget.js"></script>
<script src="/resources/js/jquery.iframe-transport.js"></script>
<script src="/resources/js/jquery.fileupload.js"></script>
<script src="/resources/js/updateInfo.js"></script>
<title>Insert title here</title>
</head>
<body>
	<tiles:insertDefinition name="defaultTemplate2">
		<tiles:putAttribute name="body">
			<div style="width: 1058px; padding: 50px 20px;">
				<div class="acc-info">
					Thông tin cá nhân
					<div id="error-msg" style="font-weight: normal; width: 450px; margin-bottom: 0px" class="alert alert-danger error-msg" role="alert"> dsdsa</div>
					<p class="required" style="padding-top: 10px;">
						<label for="Caption">Email</label> <input type="text" disabled="disabled"
							class="form-input form-control" value="${currentUploader.email}">
					</p>
					<p class="required">
						<label for="Caption">Tên hiển thị</label> <input id="txt-name" type="text" maxlength="100"
							class="form-input form-control" placeholder="Tên hiển thị" value="${currentUploader.name}">
					</p>
					<p>
						<label for="Caption">Avatar</label> <img class="avatar-info"
							src="${currentUploader.avatar}"
							width="100" height="100"> <input id="avatarUpload" type="file" name="files[]"
							data-url="/uploader/uploadAvatar">
					<p>
						<label for="Caption">Giới Thiệu</label> <textarea id="txt-description"
							style="height:100px" class="form-input form-control"
							placeholder="Giới thiệu sơ lược về bản thân hoặc các trang web cá nhân (blog, facebook ..)">${currentUploader.description}</textarea>
					</p>
					<p class="buttonSet">
						<button id="btn-update-info" class="btn btn-primary buttons submitButton" type="submit">Cập Nhật</button>
					</p>
					<a href="/uploader/change-password">Đổi mật khẩu</a>
				</div>

			</div>
		</tiles:putAttribute>
	</tiles:insertDefinition>
</body>
</html>